/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package brain;

import java.sql.SQLException;
import java.util.Map;

/**
 *
 * @author martin
 */
public interface SqlConnection {

  void connect() throws SQLException;

  void disconnect() throws SQLException;

  void exec(final String sqlquery) throws SQLException;

  boolean isConnected();

  Map<CharSequence, Map> query(final String req) throws SQLException;
  
}
